<%@ page language="java" contentType="text/html; charset=utf-8"
	pageEncoding="utf-8" isELIgnored="false"%>
<%@ include file="/WEB-INF/views/shared/taglib.jsp"%>
<%
	request.setAttribute("title", request.getAttribute("username"));
%>
<%@ include file="/WEB-INF/views/shared/master/weContentHeader.jsp"%>
<%@ include file="/WEB-INF/views/shared/master/weTitle.jsp"%>
<div class="goback" data-back-href="<c:url value='/wechat/cust/personCenter/myTeam' />"></div>

    <c:choose>
       <c:when test="${customers== null || fn:length(customers) == 0}">
            <div style="text-align: center;margin-top: 20px">
               <img  src="<c:url value='/images/we/personCenter/none.png' />">
               <p style="height: 48px;text-align: center;
		         color: #afafaf;margin-top: 20px">${username}暂时还没有分享哟</p>
            </div>
       </c:when>
       
       <c:otherwise>
       <div class="weui-cells" style="margin-top: 0px;">
             <c:forEach items="${customers}" var="customer">
			    <div class="weui-cell">
				    <div class="weui-cell__hd">
					     <img style="width: 48px; height: 48px;border-radius:50%;" src="${customer.picPath}">
				    </div>
				    <div class="weui-cell__bd">
					     <c:if test="${customer.username==null || customer.username eq ''}">
				    		<p>${customer.nickname}</p>
				    	</c:if>
				    	<c:if test="${customer.username!=null && customer.username ne ''}">
				    		<p>${customer.username}</p>
				    	</c:if>
					     <span class="weui-badge" style="font-size:14px;background-color:#2196F3;">
						      <t:provider packageName="cust" enumClassName="CustomerLevel" value="${customer.level}"/>
					     </span>
				    </div>
			   </div>
	       </c:forEach>
	       </div>
       </c:otherwise>
   
    </c:choose>
	


<%@ include file="/WEB-INF/views/shared/scripts/jquery.jsp"%>
<%@ include file="/WEB-INF/views/shared/scripts/jqweui.jsp"%>
<script type="text/javascript">


</script>
<%@ include file="/WEB-INF/views/shared/master/weContentFooter.jsp"%>